package com.lcf.system.dto.userRole;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 用户与角色(SysUserRole)表实体类
 *
 * @author lcf
 * @since 2025-02-25 12:30:27
 */
@Data
@NoArgsConstructor
public class SysUserRoleDTO {
    //角色id
    @Schema(description = "角色id")
    @Size(min = 1, message = "角色不能为空")
    private List<Long> roleIdList;
}

